Fixed for compiling with AS 2.28.1 + MinGW 4.8.1