Remove on build directive