slightly improve build rules