Fix 64bit compiler option + don't pollute other cmake files with BUILD_SHARED_LIBS