OS dependant build event