let users specify LIBDIR, OPTIMIZATIONS, CXX