Enabled build with g++ (both fsf and apple's) and added possibility to only build osx libs