[FIX] compiler flags for externs