updated (removed Windows compile and fixed compat define)