Fixing OSX library compilation

Without vnum option, the library is identified as <build-path>/library.