Fixing compiling under OS X 

This additional --release option fixed compiling problem for OS X