build fixes, 0.5.0-alpha1