Input capture interrupt on Timer 1, Arduino Pro mini

As per title i cant get the input capture to work on the Arduino pro mini. I tried two to rule out a faulty pin.

The code was working fine on a standard uno.

ADC interrupt works fine, timer 1 overflow interrupt does not work either.
Ckecked datasheet, ICP1 is still PB0, Digital Pin 8. Im clueless. Any advice?

And it works if compiled with the linux IDE, where the original code was created... What a strange Thing...