Fix makefile. Separate linux and bare metal implementation of i2c