fix build on appharbour