Added convenience functions for compiling tests and src.