allow compilation on Go1