Fixed #133 and moved US_TICK macro to core-common-lib