Fixed Bug in Mac compile Script so that FileDialog gets compiled with it.