fixed build permissions