fixed -all build issue (still not working correctly, but builds)