Remove perl as dependency when building