build fails for some reason, linking trouble