move flags to compile`