fixed mac builds