added preprocessor symbols for cross-compiling