define -buildmode and -linkshared flags (that do nothing much for now)