Having to press Fn+F11 to launch the compiler on FDT/eclipse is not really ideal. Here it's the fix:
Edit the file /etc/modprobe.d/options:
sudo gedit /etc/modprobe.d/options
Add the line:
options hid pb_fnmode=2
Save the file and execute the following command:
sudo update-initramfs -u
Reboot