cross compile bugfix attempt