fix for some building stuff