Trying to port to gnu toolchain