Remove unneeded conditionals and fix Flash compile on Unix systems