Fixed compilation errors on linux/64-bit (Fedora 18)
Create library