fix color4f for linux build