Add if(APPLE) guards around the fix-libs script command