Api was changed to use enum instead of vague int. Seems like this was mixing up the major/minor enums and broke the build.
Pragma seemed unnecessary, builds ok without and anyway better to fix the headers.
@chriadam @dcaliste @flypig
This will create a new commit in order to revert the existing changes.