writable libraries and compilation problems