final changes for standalone builds for Win/Mac/Linux