Move the block for adding the Mac OS X specific properties to after the registration of the library.