Fix gov errors when compiling