made some small build improvements