Compiles against static version of library, to avoid and LD_LIBRARY_PATH issues, etc.