same behaviour of building on unix and windows