compile with prefix