Fix build phase