Check for linux defines when building on other os's