Fixed build for unices