Use build pragmas to exclude code