Proper separation between build and runtime outputs
fix darwin build