fix for gnmc building