Add some functions to easily compile and install the dat files