remove compiler flags, add version pinning