General fixes

it wasn't building from the cmd line