Preprocessor #if statement doesn't work in library

Also see