fix to build R pks under OSX Mavericks