Updated BASE.require.compile to work with new require.