Updated auxiliaries build rules

This should fix up the build issue. Also split up the build rules so that it should be clearer for other people.