Small fixes for build profile