Build the library with optimizations by default

I think it would be better to build the library without debug symbols and with optimizations by default.