1) reduce optimization level and remove inappropreate optimization flags 2) use autoconf 257 3) remove lapack dependency 4) fix pkg-plist