Fixed #133 and moved some US_TICK define to core-common-lib