Per Mark Hammond's suggestion, add it to the extra libs in Settings instead of to the project's source files.