move compilation stuff to production config